import request from '@/utils/request'
import qs from 'qs';


//获取资金明细
export function getCapitalDetails(data) {
    return request({
        url: '/ajax/fundwallet/transaction',
        method: 'post',
        data: qs.stringify(data)
    })
}

// 获取资金统计
export function getCapitalStatistics(data) {
    return request({
        url: '/ajax/fundwallet/fundstatistics',
        method: 'post',
        data: qs.stringify(data)
    })
}

// 钱包列表
export function getWalletlist(data) {
    return request({
        url: '/ajax/fundwallet/walletlist',
        method: 'post',
        data: qs.stringify(data)
    })
}
// 钱包互转
export function transfer(data) {
    return request({
        url: '/ajax/fundwallet/transfer',
        method: 'post',
        data: qs.stringify(data)
    })
}


// 移动端资金统计
export function getStatistics(data) {
    return request({
        url: '/ajax/fundwallet/fundstatisticsv4',
        method: 'post',
        data: qs.stringify(data)
    })
}
